package in.muton.panels.paginator.helpers.links;

import org.apache.wicket.PageParameters;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.model.IModel;

public class GenericLink extends BookmarkablePageLink<Void> {
	public GenericLink(String id, Class<? extends WebPage> pageClass,
			PageParameters params, String tagName, String string) {
		super(id, pageClass, params);
		add(new Label(tagName, string));
	}

	public GenericLink(String id, Class<? extends WebPage> pageClass,
			PageParameters params, String tagName, IModel<String> stringModel) {
		super(id, pageClass, params);
		add(new Label(tagName, stringModel));
	}

	private static final long serialVersionUID = 8926496329146869163L;
}
